﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace SlamDunk.ValueObjects.Enums
{
    /// <summary>
    /// 设备状态
    /// </summary>
    [DataContract]
    public enum EquipmentStatus
    {
        /// <summary>
        /// 正常
        /// </summary>
        [EnumMember]
        [Description("正常")]
        Normal = 0,

        /// <summary>
        /// 故障中
        /// </summary>
        [EnumMember]
        [Description("故障中")]
        Failure = 1,

        /// <summary>
        /// 维护中
        /// </summary>
        [EnumMember]
        [Description("维护中")]
        Maintaining = 2,

        /// <summary>
        /// 已报废
        /// </summary>
        [EnumMember]
        [Description("已报废")]
        Scrap = 3
    }
}
